import 'package:flutter/material.dart';

class PartnerPage extends StatefulWidget {
  const PartnerPage({super.key});

  @override
  State<PartnerPage> createState() => _PartnerPageState();
}

class _PartnerPageState extends State<PartnerPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("校企合作"),
      ),
      body: Center(
          child: ListView(
        children: <Widget>[
          Card(
            shape: const RoundedRectangleBorder(
                borderRadius: BorderRadius.all(Radius.circular(10))),
            elevation: 20,
            margin: const EdgeInsets.all(10),
            child: Column(
              children: <Widget>[
                AspectRatio(
                  aspectRatio: 20 / 9,
                  child: Image.asset(
                    'assets/images/campus5.jpg',
                    fit: BoxFit.cover,
                  ),
                ),
                const ListTile(title: Text("欢迎各企业与吉林动画学院合作！"))
              ],
            ),
          ),
        ],
      )),
    );
  }
}
